package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.WxpayConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 微信支付配置表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-04-09 10:38:20
 */
@Mapper
public interface WxpayConfigMapper extends BaseMapper<WxpayConfig> {

    @Select("select value from t_wxpay_config where code = #{code}")
    String selectOneData(@Param("code") String code);

}
